@ECHO OFF
::-nographics 可能导致生成资源失败
set var_path_unity="C:\Program Files\Unity\Hub\Editor\2022.3.12f1\Editor\Unity.exe"
set var_path_project=%~dp0
echo %var_path_project%
set inputFile=%var_path_project%\SettingsInput.txt
echo #input > %inputFile%

echo BuildBundle=1 >> %inputFile%
echo override=1 >> %inputFile%
echo Development=1 >> %inputFile%
echo AndroidArchitecture=ARMv7 >> %inputFile%
echo ScriptingDefines=1 >> %inputFile%
echo bundleVersionCode=100 >> %inputFile%
echo bundleVersion=100 >> %inputFile%
echo bundleVersion=1.0.0 >> %inputFile%
%var_path_unity% -projectPath %var_path_project% -quit -batchmode -executeMethod Framework.BuildCommand.Execute -logFile LogBundle.log
